﻿
// Things we only need on edit views
$(document).ready(function () {
    // http://eternicode.github.io/bootstrap-datepicker/?markup=input&format=dd-mm-yyyy&weekStart=1&startDate=&endDate=&startView=0&minViewMode=0&todayBtn=false&language=da&orientation=auto&multidate=&multidateSeparator=&calendarWeeks=on&autoclose=on&todayHighlight=on&keyboardNavigation=on&forceParse=on#sandbox

    $('.datepicker').datetimepicker({
        language: "da",
        format: "DD-MM-YYYY",
        pick12HourFormat: false,
        pickTime: false
    });
    
    $('.datetimepicker').datetimepicker({
        language: "da",
        format: "DD-MM-YYYY",
        minuteStepping: 15,
        pick12HourFormat: false
    });

    $('.timepicker').datetimepicker({
        language: "da",
        minuteStepping: 15,
        pick12HourFormat: false,
        pickDate: false
    });


});